<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>系统发生错误</title>
<link rel="stylesheet" href="/public/static/bootstrap/css/bootstrap.min.css">
<style>
body{
    font-family: 'Microsoft Yahei', Verdana, arial, sans-serif;
    font-size:15px;
}

.message,#trace{
    padding:1em;
    border:solid 1px #000;
    margin:10px 0;
    background:#FFD;
    line-height:150%;
}

.message{
    background:#FFD;
    color:#2E2E2E;
    border:1px solid #E0E0E0;
}

#trace{
    background:#E7F7FF;
    border:1px solid #E0E0E0;
    color:#535353;
}

</style>
</head>
<body>
<div class="container">
    <h2>系统发生错误 </h2>
    <div >您可以选择 [ <a href="<?php echo(strip_tags($_SERVER['PHP_SELF']))?>">重试</a> ] [ <a href="javascript:history.back()">返回</a> ]</div>
    <?php if(isset($e['file'])) {?>
    <p>
        <strong>错误位置:</strong>　FILE: <span class="text-danger"><?php echo $e['file'] ;?></span>　LINE: <span class="red"><?php echo $e['line'];?></span>
    </p>
    <?php }?>
    <p class="title">[ 错误信息 ]</p>
    <p class="alert alert-danger"><?php echo strip_tags($e['message']);?></p>

<?php if(isset($e['trace'])) {?>
    <p class="title">[ TRACE ]</p>
    <p id="trace">
        <?php echo nl2br($e['trace']);?>
    </p>
<?php }?>
</div>
<div align="center" style="color:#FF3300;margin:5pt;font-family:Verdana">企云网站管理系统<span style='color:silver'> </span>
</div>
</body>
</html>